﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlutoStudio.Net.Processors.Security
{
    public interface IIdentity
    {
        // Properties
        string AuthenticationType { get; }
        bool IsAuthenticated { get; }
        string Name { get; }
    }


    public interface IPrincipal
    {
        // Methods
        bool IsInRole(string role);

        // Properties
        IIdentity Identity { get; }
    }

}
